﻿using System;
using System.IO;
using CloudShot.Core.Types;

namespace CloudShot.ImageStorages
{
  public class FileSystemSettings
  {
    private string _folderToSave;

    public ImageSaveFormat CurrentImageFormat { get; set; }

    public string FolderToSave
    {
      get
      {
        if (string.IsNullOrEmpty(_folderToSave))
          _folderToSave = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyPictures), "CloudShot");

        return _folderToSave;
      }
      set { _folderToSave = value; }
    }

    public bool  IsClickableLinksEnabled { get; set; }

    public FileSystemSettings()
    {
      IsClickableLinksEnabled = true;
    }
  }
}